# coding: UTF-8
import pytest


def test_001_spec():
    assert 1 == 1


def test_002_spec():
    assert True == False

def test_003_spec():
    assert 2 == 3

class Test_Class():
    def test_003_spec(self):
        assert 'H' in "Hell,Jerry"

    def test_004_spec(self):
         assert 'H' in "Hell,mcjk"

    #  执行正确
    def test_005_spec(self):
        assert 1==1

    #  执行错误
    def test_005_spec(self):
        assert 1 == 2

#pytest -v -s -x test_cass.py -x表示测试用例执行出现错误那么将不执行下面的函数
#pytest -v -s --maxfail=2 test_cass.py -maxfail=2表示当faillde有两个时候停止程序，2可以自定义0
#pytest -v -s -k TestCase test_cass.py -k
